package com.sky.announce.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sky.common.annotation.Excel;
import com.sky.common.core.domain.BaseEntity;

/**
 * 人员管理对象 tb_person
 * 
 * @author Kunpeng
 * @date 2025-07-14
 */
public class Person extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 中标/候选人ID */
    private Long id;

    /** 公告表的外键 */
    @Excel(name = "公告表的外键")
    private Long announceId;

    /** 中标人/候选人 */
    @Excel(name = "中标人/候选人")
    private String type;

    /** 公司名字 */
    @Excel(name = "公司名字")
    private String name;

    /** 排名 */
    @Excel(name = "排名")
    private Long ranking;

    /** 最终报价 */
    @Excel(name = "最终报价")
    private BigDecimal finalPrice;

    /** 得分 */
    @Excel(name = "得分")
    private BigDecimal score;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 删除标志（0代表存在，2代表删除) */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAnnounceId(Long announceId) 
    {
        this.announceId = announceId;
    }

    public Long getAnnounceId() 
    {
        return announceId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setRanking(Long ranking) 
    {
        this.ranking = ranking;
    }

    public Long getRanking() 
    {
        return ranking;
    }
    public void setFinalPrice(BigDecimal finalPrice) 
    {
        this.finalPrice = finalPrice;
    }

    public BigDecimal getFinalPrice() 
    {
        return finalPrice;
    }
    public void setScore(BigDecimal score) 
    {
        this.score = score;
    }

    public BigDecimal getScore() 
    {
        return score;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("announceId", getAnnounceId())
            .append("type", getType())
            .append("name", getName())
            .append("ranking", getRanking())
            .append("finalPrice", getFinalPrice())
            .append("score", getScore())
            .append("phone", getPhone())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
